import request from "@/utils/request";
// 获取
export function getList00(data) {
  return request({
    url: "mbacms/authority/list",
    method: "get",
    params: data
  });
}
// 编辑
export function sureEd(data) {
    return request({
      url: `/mbacms/authority/status/${data.id}`,
      method: "put",
      data: data
    });
  }
  // 编辑
export function sureEd1(data) {
  return request({
    url: `/mbacms/authority`,
    method: "put",
    data: data
  });
}
  // 编辑
export function sureAdd(data) {
    return request({
      url: "mbacms/authority",
      method: "post",
      data: data
    });
  }
    // 删除
export function delSure(ids) {
    return request({
      url: `mbacms/authority/${ids}`,
      method: "delete",
    });
  }
    // 三级联动
export function seleCity(data) {
    return request({
      url: "system/config/city",
      method: "get",
      params: data
    });
  }